// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

#pragma once
#include <string>
#include "CoreMinimal.h"
#include "ModuleManager.h"

class FToolBarBuilder;
class FMenuBuilder;

class FMyKaiModule : public IModuleInterface
{
public:

	/** IModuleInterface implementation */
	virtual void StartupModule() override;
	virtual void ShutdownModule() override;
	
	/** This function will be bound to Command. */
	void PluginButtonClicked();
	UWorld* GetWorld();
	TSubclassOf<class AModelX> uc;	
	class AConfigs* config;
	void MakeModel();
	void WriteInModel();
	void ReadOutModel();
	void CreateWall();
	void Init();
	std::string FtoCstring(FString fs);

private:

	void AddToolbarExtension(FToolBarBuilder& Builder);
	void AddMenuExtension(FMenuBuilder& Builder);

private:
	TSharedPtr<class FUICommandList> PluginCommands;
};